package com.smart.campus.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smart.campus.dto.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @BelongsProject: smart-campus
 * @BelongsPackage: com.smart.campus.dao
 * @Author: Y S Z
 * @CreateTime: 2024-09-26  15:35
 * @Description: TODO
 * @Version: 1.0
 */
@Mapper
public interface ShSchoolTeacherMapper extends BaseMapper<SysUser> {
    public IPage<SysUser> pageSchoolTeacher(@Param("sysUser")SysUser sysUser,Page<SysUser> page);
    public void insertUserIdAndDeptId(Map<String,Long> map);
    public void insertUserIdAndRoleId(Map<String,Long> map1);
    public void deleteUserIdAndDeptId(Long userId);
    public void deleteUserIdAndRoleId(Long userId);
}
